import java.util.Scanner;

interface ContestReviewInterface {
    int simulate(int a, int b, String c);
}

class ContestReviewSuperClass {
    public String name;
    public int id;
    public String major;

    public ContestReviewSuperClass(String name, int id, String major) {
        this.name = name;
        this.id = id;
        this.major = major;
    }
}

class Require extends ContestReviewSuperClass implements ContestReviewInterface {
    public Require(String name, int id, String major) {
        super(name, id, major);
    }

    public int simulate(int a, int b, String c) {
        char tmp = c.charAt(0);
        switch (tmp) {
            case '+':
                return a + b;
            case '-':
                return a - b;
            case '*':
                return a * b;
            case '/':
                return a / b;
            default:
                System.out.println("输入错误");
                return 0;
        }


    }

}

public class Work {
    public static void main(String[] args) {
        Require require = new Require("张三", 11, "hahah");
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入：");
        int a = scanner.nextInt();
        scanner.nextLine();
        int b = scanner.nextInt();
        scanner.nextLine();
        String c = scanner.nextLine();
        System.out.println(require.simulate(a,b,c));
    }

    long factorial(int N) {
        return N < 2 ? N : factorial(N - 1) * N;
    }
}

